public class onejava{
    public static void main(String[] args){
        Person p1=new Person();
        p1.speak();
        
    }
}

    
class Person{
    String name;
    int age;
    //public表示方法为公开的
    public void speak(){
        System.out.println("man");
    }
}